package com.atguigu.controller;

import com.alibaba.dubbo.config.annotation.Reference;
import com.atguigu.service.TravelItemService;
import com.atguigu.vo.Result;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName : TravelltemController
 * @Author : YaoQing
 * @Date: 2021/8/19 23:58
 * @Description : 控制器，meinian_web里面实现
 */
//组合注解 @Controller + @ResponseBody
@RestController
//父路径映射,是pojo类的类名
@RequestMapping("/ TravelItem")
public class TravelltemController {
    @Reference
    TravelItemService travelItemService;

    @RequestMapping("/add")
    public Result add(){
        return null;
    }
}
